Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version 2 to required node-fetch's #1061

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

TheMonDon
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
CommonJS

node-fetch from v3 is an ESM-only module - you are not able to import it with require().

If you cannot switch to ESM, please use v2 which remains compatible with CommonJS. Critical bug fixes will continue to be published for v2.

npm install node-fetch@2

Status

  • Code changes have been tested against the Discord API and the discord.js wrapper, or there are no code changes
  • Documentation has been added/modified, or there is nothing to change (docs/mods.json)

Semantic versioning classification:

  • This PR changes DBM's interface (methods or parameters added to default methods)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@OneAndOnlyFinbar OneAndOnlyFinbar merged commit acb4f7c into dbm-network:master Jan 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants